import request from '@/router/axios';

/**
 * 通过id获取参数配置
 * @param {*} data 
 * @returns 
 */
export const get = (data) => request({
  url: '/sys/config/get',
  method: 'post',
  data
});
/**
 * 分页查询参数配置
 * @param {*} data 
 * @returns 
 */
 export const list = (data) => request({
  url: '/sys/config/list',
  method: 'post',
  data
});
/**
 * 删除参数配置
 * @param {*} data 
 * @returns 
 */
 export const remove = (data) => request({
  url: '/sys/config/remove',
  method: 'post',
  data
});
/**
 * 添加参数配置
 * @param {*} data 
 * @returns 
 */
 export const save = (data) => request({
  url: '/sys/config/save',
  method: 'post',
  data
});
/**
 * 修改参数配置
 * @param {*} data 
 * @returns 
 */
 export const update = (data) => request({
  url: '/sys/config/update',
  method: 'post',
  data
});